package dhm.com.dhmshop.entity;

import java.util.List;

public class GetShopCats {
    /**
     * code : 1
     * message : 获取成功
     * data : [{"catId":57,"shopId":7,"parentId":0,"isShow":1,"catName":"蜜饯果干","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34","child":[{"catId":58,"shopId":7,"parentId":57,"isShow":1,"catName":"蜜饯","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34"},{"catId":59,"shopId":7,"parentId":57,"isShow":1,"catName":"干果","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34"}],"childNum":2},{"catId":60,"shopId":7,"parentId":0,"isShow":1,"catName":"坚果炒货","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34","child":[{"catId":61,"shopId":7,"parentId":60,"isShow":1,"catName":"松子","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34"},{"catId":62,"shopId":7,"parentId":60,"isShow":1,"catName":"瓜子","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34"}],"childNum":2}]
     */

    private int code;
    private String message;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * catId : 57
         * shopId : 7
         * parentId : 0
         * isShow : 1
         * catName : 蜜饯果干
         * catSort : 0
         * dataFlag : 1
         * createTime : 2019-02-22 23:43:34
         * child : [{"catId":58,"shopId":7,"parentId":57,"isShow":1,"catName":"蜜饯","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34"},{"catId":59,"shopId":7,"parentId":57,"isShow":1,"catName":"干果","catSort":0,"dataFlag":1,"createTime":"2019-02-22 23:43:34"}]
         * childNum : 2
         */

        private int catId;
        private int shopId;
        private int parentId;
        private int isShow;
        private String catName;
        private int catSort;
        private int dataFlag;
        private String createTime;
        private int childNum;
        private List<ChildBean> child;

        public int getCatId() {
            return catId;
        }

        public void setCatId(int catId) {
            this.catId = catId;
        }

        public int getShopId() {
            return shopId;
        }

        public void setShopId(int shopId) {
            this.shopId = shopId;
        }

        public int getParentId() {
            return parentId;
        }

        public void setParentId(int parentId) {
            this.parentId = parentId;
        }

        public int getIsShow() {
            return isShow;
        }

        public void setIsShow(int isShow) {
            this.isShow = isShow;
        }

        public String getCatName() {
            return catName;
        }

        public void setCatName(String catName) {
            this.catName = catName;
        }

        public int getCatSort() {
            return catSort;
        }

        public void setCatSort(int catSort) {
            this.catSort = catSort;
        }

        public int getDataFlag() {
            return dataFlag;
        }

        public void setDataFlag(int dataFlag) {
            this.dataFlag = dataFlag;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public int getChildNum() {
            return childNum;
        }

        public void setChildNum(int childNum) {
            this.childNum = childNum;
        }

        public List<ChildBean> getChild() {
            return child;
        }

        public void setChild(List<ChildBean> child) {
            this.child = child;
        }

        public static class ChildBean {
            /**
             * catId : 58
             * shopId : 7
             * parentId : 57
             * isShow : 1
             * catName : 蜜饯
             * catSort : 0
             * dataFlag : 1
             * createTime : 2019-02-22 23:43:34
             */

            private int catId;
            private int shopId;
            private int parentId;
            private int isShow;
            private String catName;
            private int catSort;
            private int dataFlag;
            private String createTime;

            public int getCatId() {
                return catId;
            }

            public void setCatId(int catId) {
                this.catId = catId;
            }

            public int getShopId() {
                return shopId;
            }

            public void setShopId(int shopId) {
                this.shopId = shopId;
            }

            public int getParentId() {
                return parentId;
            }

            public void setParentId(int parentId) {
                this.parentId = parentId;
            }

            public int getIsShow() {
                return isShow;
            }

            public void setIsShow(int isShow) {
                this.isShow = isShow;
            }

            public String getCatName() {
                return catName;
            }

            public void setCatName(String catName) {
                this.catName = catName;
            }

            public int getCatSort() {
                return catSort;
            }

            public void setCatSort(int catSort) {
                this.catSort = catSort;
            }

            public int getDataFlag() {
                return dataFlag;
            }

            public void setDataFlag(int dataFlag) {
                this.dataFlag = dataFlag;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }
        }
    }
}
